<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo $_BASE_DIR?>css_v1/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>css_v1/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/select-ui.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>javascripts/commond.js"></script>
<link href="<?php echo $_BASE_DIR?>uploadify/css/uploadify.css"
	rel="stylesheet" type="text/css" />

<style type="text/css">
#header {
	height: 85px
}

#leftside,#container,#splitBar,#splitBarProxy {
	top: 90px
}
</style>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery.ocupload.min.js"
	type="text/javascript"></script>

<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 130  
	});
	$(".select3").uedSelect({
		width : 120
	});
});
</script>
  
<script type="text/javascript">
function ajaxpost(form)
{
	var data = $(form).serialize();
	$.post(form.action, data,function(result){
		result =  eval("("+result+")");
		alert(result.message);
		if( result.forwardUrl !== 'null' && result.forwardUrl !== null )
		{
			window.location.href = result.forwardUrl;
		}
		});
	return false;
}
</script>

</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
	<li><a href="<?php echo url("leftmenu/bottom")?>">首页</a></li>
    <li><a href="<?php echo url("mzcard")?>">激活码管理</a></li>
    <li><a href="#">导入激活码</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 

  	<div id="tab1" class="tabson">
    
    
    <ul class="forminfo">
   <form
	<?php foreach ($form->attrs() as $attr => $value): $value = h($value); echo "{$attr}=\"{$value}\" "; endforeach; ?>>
		
		<?php foreach ($form->elements() as $element):?>
			<li>
				<label  ><?php echo $element->_label?> </label>
				<?php 
				$data = $element->attrs();
				if($element->_ui == 'textbox' || $element->_ui == 'dfinput')
				{
					$data['class'] .= " dfinput"; 
				}
				if($element->_ui == 'dropdownlist')
				{
					
				}
				$data['placeholder'] = 	$element->_label;
					?>
				<?php echo Q::control($element->_ui, $element->id, $data);?>
				
			</li>
			<?php endforeach;?>
			<li>格式：激活码</li>
			<li>例子：10000000</li>
		<li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认导入"/></li>
	</form>
    </ul>
    </div> 
    
    
  	  
       
	</div> 
 
	
    </div>


</body>

</html>

